package com.daJiao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.daJiao.entity.SysUserRole;
import org.apache.ibatis.annotations.Param;


public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {

    int batchDeleteByRoleId(@Param("roleId") String roleId);

    int batchDeleteByUserId(@Param("userId") String userId);
}